<!--
 * @Author: xiaolong.luo@flowportal xiaolong.luo8888
 * @Date: 2024-04-26 15:37:58
 * @LastEditors: xiaolong.luo@flowportal xiaolong.luo8888
 * @LastEditTime: 2024-04-30 10:49:47
 * @FilePath: \v2-project\src\views\user\Login.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <van-form @submit="onSubmit">
        <van-field v-model="uid" name="uid" label="用户名" placeholder="用户名"
            :rules="[{ required: true, message: '请填写用户名' }]" />
        <van-field v-model="pwd" type="pwd" name="pwd" label="密码" placeholder="密码"
            :rules="[{ required: true, pattern: /\d{6}/, message: '密码不能小于6位数' }]" />
        <div style="margin: 16px;">
            <van-button block type="info" native-type="submit">提交</van-button>
        </div>

    </van-form>
</template>

<script>
export default {
    name: 'RegisterPage',
    data() {
        return {

        }
    },
    mehtod: {

    }
}
</script>

<style lang="scss" scoped></style>